
const initialState = {
	toPath: "/home/index"
}

const signInReducer = (state = initialState, action) => {
  	if(action.type === "signin_redirect_event") {
    	return Object.assign({}, state, {
      		toPath: action.payload
    	})
  	}
  	return state;
}
export default signInReducer